<!--cache-view="false"-->
<ion-view class="content-color" title="客户动态" cache-view="false">
	<ion-nav-buttons side="left">

	</ion-nav-buttons>
	<ion-nav-buttons side="right">

		<button class="button button-clear button-calm" ng-click="getStyles()">订阅</button>

	</ion-nav-buttons>
	<ion-content class="has-header" >

		<!--'<ion-header-bar>
			<div class="button-bar">
				<a class="button" ng-click="saveOneTodo()" style="font-size:20px;font-weight:bold;"><b>+</b></a>
			</div>

		</ion-header-bar>'-->
		
		
		
		<!--<div class="list">
			<div class="item" 
				ng-repeat="selectedClient in selectedClients ">
               <h2>{{selectedClient.name}}</h2>
				<i class="icon ion-chevron-right icon-accessory"></i>
              
            </div>
            
		</div>-->
		<ion-list >
  		
        <ion-item ng-repeat="selectedClient in selectedClients"
                  ng-click="showDetail(selectedClient.id)"
                  class="height-56 item item-icon-right"
                   >
          
          
          <p>{{selectedClient.name}}</p>
			<!--{{selectedClient.style}}-->
          <i class="badge badge-assertive">{{selectedClient.newMsg}}</i>
          <i class=" icon ion-chevron-right icon-accessory " style="height: 54px"></i>
			<ion-option-button class="button-calm" ng-click="changeClientStyle(selectedClient.id)">编辑订阅类型</ion-option-button>
         　　<ion-option-button class = "button-assertive" ng-click="deleteClientStyle(selectedClient)">删除</ion-option-button>
        </ion-item>

      </ion-list>




	</ion-content>
<!--style="position:absolute;bottom:0px;"-->

	<ion-footer-bar class="content-color" style="bottom:90px;">
		<div style="margin: auto" >
			<button class="ion-plus button button-calm " style="font-size: 30px;width:80px;height:80px;border-radius:50%;"  ng-click="addClient()"></button>
			<div style="margin: 10px; text-align: center; font-size: 15px;color: #666666">添加客户</div>
		</div>

	</ion-footer-bar>
</ion-view>